const {
    examTypeModel
} = require("../models/examTypeModel");

async function getAllTypes(req, res, next) {
  
   
    let allTypesArr = await examTypeModel.find({});

    res.send({allTypesArr});
}

module.exports = {
    getAllTypes
}